import {createRouter, createWebHashHistory} from 'vue-router'


const routes = [
    {
        path: '/',
        component: import('@src/pages/index.vue'),
    },
    {
        path: '/user',
        component: import("@src/pages/user/index.vue"),
    },
    {
        path: '/calculator',
        component: import("@src/pages/calculator/index.vue"),
    },
    {
        path: '/slideshow',
        component: import("@src/pages/slideshow/index.vue"),
    },
    {
        path: '/c01-learningSchedule',
        component: import("@src/pages/case/c01-learningSchedule.vue"),
    },
    {
        path: '/:catchAll(.*)',
        component: import("@src/pages/error/index.vue"),
    }

]

const router = createRouter({
    history: createWebHashHistory(),
    routes,
})

export default router;